home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / x / volume6 / xfig2 / patch4b < prev    next >
Encoding:
Internet Message Format  |  1993-04-28  |  43.2 KB

  1. From: envbvs@epb3.lbl.gov (Brian V. Smith)
  2. Newsgroups: comp.sources.x
  3. Subject: v06i035: xfig 2.0 patch 4 Part 2/3
  4. Message-ID: <132967@sun.Eng.Sun.COM>
  5. Date: 15 Mar 90 07:53:14 GMT
  6. Approved: argv@sun.com
  7.  
  8. Submitted-by: envbvs@epb3.lbl.gov (Brian V. Smith)
  9. Posting-number: Volume 6, Issue 35
  10. Archive-name: xfig2/patch4b
  11. Patch-To: xfig2: Volume 6, Issues 9-24
  12.  
  13.  
  14. #! /bin/sh
  15. # This is a shell archive.  Remove anything before this line, then unpack
  16. # it by saving it into a file and typing "sh file".  To overwrite existing
  17. # files, type "sh file -c".  You can also feed this as standard input via
  18. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  19. # will see the following message at the end:
  20. #        "End of archive 2 (of 3)."
  21. # Contents:  FORMAT1.4.diff FORMAT1.4X.diff psbits3.c.diff xfig.l.diff
  22. # Wrapped by envbvs@epb3.lbl.gov on Mon Mar 12 16:28:04 1990
  23. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  24. if test -f 'FORMAT1.4.diff' -a "${1}" != "-c" ; then 
  25.   echo shar: Will not clobber existing file \"'FORMAT1.4.diff'\"
  26. else
  27. echo shar: Extracting \"'FORMAT1.4.diff'\" \(9017 characters\)
  28. sed "s/^X//" >'FORMAT1.4.diff' <<'END_OF_FILE'
  29. X*** FORMAT1.4.old    Tue Feb 20 10:56:44 1990
  30. X--- FORMAT1.4    Tue Mar  6 10:12:45 1990
  31. X***************
  32. X*** 1,4
  33. X! The following is the format of fig output (fig 1.4X).
  34. X  
  35. X  (0) The only difference between 1.4 and 1.4X is that the interpretation
  36. X      of the "pen" value in ARC_BOX is now the radius of the corners of the box.
  37. X
  38. X--- 1,4 -----
  39. X! ****** This is the old format 1.4. ******
  40. X  
  41. X  The following is the format of fig output (fig 1.4).
  42. X  
  43. X***************
  44. X*** 1,8
  45. X  The following is the format of fig output (fig 1.4X).
  46. X  
  47. X! (0) The only difference between 1.4 and 1.4X is that the interpretation
  48. X!     of the "pen" value in ARC_BOX is now the radius of the corners of the box.
  49. X!     Also, the ARC_BOX is sub-type 4 of POLYLINE.
  50. X  
  51. X  (1) The very first line is a comment line containing the name and version:
  52. X      #FIG 1.4X
  53. X
  54. X--- 1,6 -----
  55. X  ****** This is the old format 1.4. ******
  56. X  
  57. X! The following is the format of fig output (fig 1.4).
  58. X  
  59. X  (1) The very first line is a comment line containing the name and version:
  60. X      #FIG 1.4
  61. X***************
  62. X*** 5,11
  63. X      Also, the ARC_BOX is sub-type 4 of POLYLINE.
  64. X  
  65. X  (1) The very first line is a comment line containing the name and version:
  66. X!     #FIG 1.4X
  67. X  
  68. X      The character # at the first column of a line indicates that the line
  69. X      is a comment line which will be ignored.
  70. X
  71. X--- 3,9 -----
  72. X  The following is the format of fig output (fig 1.4).
  73. X  
  74. X  (1) The very first line is a comment line containing the name and version:
  75. X!     #FIG 1.4
  76. X  
  77. X      The character # at the first column of a line indicates that the line
  78. X      is a comment line which will be ignored.
  79. X***************
  80. X*** 33,43
  81. X  (3) The rest of the file contains various objects.  An object can be one
  82. X      of six classes (or types).
  83. X  
  84. X!       i)    Ellipse which is a generalization of circle.
  85. X!      ii)    Polyline which includes polygon and box.
  86. X!     iii)    Spline which includes closed/open control/interpolated spline.
  87. X!      iv)    Text.
  88. X!       v)    Arc.
  89. X       vi)    Compound object which is composed of one or more objects.
  90. X  
  91. X      In the following elaboration on object formats, every value of fig
  92. X
  93. X--- 31,41 -----
  94. X  (3) The rest of the file contains various objects.  An object can be one
  95. X      of six classes (or types).
  96. X  
  97. X!       i)    Arc.
  98. X!      ii)    Ellipse which is a generalization of circle.
  99. X!     iii)    Polyline which includes polygon and box.
  100. X!      iv)    Spline which includes closed/open control/interpolated spline.
  101. X!       v)    Text.
  102. X       vi)    Compound object which is composed of one or more objects.
  103. X  
  104. X      In the following elaboration on object formats, every value of fig
  105. X***************
  106. X*** 55,61
  107. X              filling object internals.  For example, an filled
  108. X              arc will look like a piece of pie.
  109. X  
  110. X! **    pen        This will be a structure defining the shape of
  111. X              pen used in drawing objects.  It also includes
  112. X              the the stipple pattern for line filling.
  113. X              The default pen is a circular pen with black
  114. X
  115. X--- 53,59 -----
  116. X              filling object internals.  For example, an filled
  117. X              arc will look like a piece of pie.
  118. X  
  119. X!     pen        This will be a structure defining the shape of
  120. X              pen used in drawing objects.  It also includes
  121. X              the the stipple pattern for line filling.
  122. X              The default pen is a circular pen with black
  123. X***************
  124. X*** 61,68
  125. X              The default pen is a circular pen with black
  126. X              filling.
  127. X  
  128. X-     ** In 1.4X, pen is the radius (pixels) of the rounded-corner boxes.
  129. X- 
  130. X      thickness    Every pen has the thickness of one.
  131. X              Thickness scales the size of a pen. 
  132. X  
  133. X
  134. X--- 59,64 -----
  135. X              The default pen is a circular pen with black
  136. X              filling.
  137. X  
  138. X      thickness    Every pen has the thickness of one.
  139. X              Thickness scales the size of a pen. 
  140. X  
  141. X***************
  142. X*** 74,80
  143. X              depth can obscure the one with greater depth
  144. X              if they overlap.
  145. X      
  146. X!     style        Only polyline (including polygon and box) can
  147. X              be rendered with dashed line.  However the
  148. X              objects created when the dash-line mode was on
  149. X              will be recorded as such.  Currently the filter
  150. X
  151. X--- 70,76 -----
  152. X              depth can obscure the one with greater depth
  153. X              if they overlap.
  154. X      
  155. X!     line_style    Only polyline (including polygon and box) can
  156. X              be rendered with dashed line.  However the
  157. X              objects created when the dash-line mode was on
  158. X              will be recorded as such.  Currently the filter
  159. X***************
  160. X*** 96,102
  161. X      ----    ----            -------------------
  162. X      int    object_code        (always 5)
  163. X      int    sub_type        (always    1)
  164. X!     int    style            (See the end of this section)
  165. X      int    line_thickness        (pixels, not used)
  166. X      int    color            (not used)
  167. X      int    depth            (not used)
  168. X
  169. X--- 92,98 -----
  170. X      ----    ----            -------------------
  171. X      int    object_code        (always 5)
  172. X      int    sub_type        (always    1)
  173. X!     int    line_style        (See the end of this section)
  174. X      int    line_thickness        (pixels, not used)
  175. X      int    color            (not used)
  176. X      int    depth            (not used)
  177. X***************
  178. X*** 116,124
  179. X      ----    ----            -------------------
  180. X      int    arrow_type        (not used)
  181. X      int    arrow_style        (not used)
  182. X!     float    arrow_thickness        (not used)
  183. X!     float    arrow_width        (pixels)
  184. X!     float    arrow_height        (pixels)
  185. X  
  186. X      Backward arrow line (Optional; absent if backward_arrow is 0) :
  187. X      type    name            (brief description)
  188. X
  189. X--- 112,120 -----
  190. X      ----    ----            -------------------
  191. X      int    arrow_type        (not used)
  192. X      int    arrow_style        (not used)
  193. X!     int    arrow_thickness        (not used)
  194. X!     int    arrow_width        (pixels)
  195. X!     int    arrow_height        (pixels)
  196. X  
  197. X      Backward arrow line (Optional; absent if backward_arrow is 0) :
  198. X      type    name            (brief description)
  199. X***************
  200. X*** 125,133
  201. X      ----    ----            -------------------
  202. X      int    arrow_type        (not used)
  203. X      int    arrow_style        (not used)
  204. X!     float    arrow_thickness        (not used)
  205. X!     float    arrow_width        (pixels)
  206. X!     float    arrow_height        (pixels)
  207. X  
  208. X      (3.2) COMPOUND
  209. X  
  210. X
  211. X--- 121,129 -----
  212. X      ----    ----            -------------------
  213. X      int    arrow_type        (not used)
  214. X      int    arrow_style        (not used)
  215. X!     int    arrow_thickness        (not used)
  216. X!     int    arrow_width        (pixels)
  217. X!     int    arrow_height        (pixels)
  218. X  
  219. X      (3.2) COMPOUND
  220. X  
  221. X***************
  222. X*** 164,170
  223. X                       2 : ellipse defined by diameters
  224. X                       3 : circle defined by radius
  225. X                       4 : circle defined by diameter)
  226. X!     int    style            (See the end of this section)
  227. X      int    thickness        (pixels, not used)
  228. X      int    color            (not used)
  229. X      int    depth            (not used)
  230. X
  231. X--- 160,166 -----
  232. X                       2 : ellipse defined by diameters
  233. X                       3 : circle defined by radius
  234. X                       4 : circle defined by diameter)
  235. X!     int    line_style        (See the end of this section)
  236. X      int    thickness        (pixels, not used)
  237. X      int    color            (not used)
  238. X      int    depth            (not used)
  239. X***************
  240. X*** 183,192
  241. X      First line :
  242. X      type    name            (brief description)
  243. X      ----    ----            -------------------
  244. X!     int    object_code        (always 2)
  245. X!     int    sub_type        (1 : polyline, 2 : box, 
  246. X!                      3 : polygon, 4 : rounded-corner box)
  247. X!     int    style            (See the end of this section)
  248. X      int    thickness        (pixels, not used)
  249. X      int    color            (not used)
  250. X      int    depth            (not used)
  251. X
  252. X--- 179,187 -----
  253. X      First line :
  254. X      type    name            (brief description)
  255. X      ----    ----            -------------------
  256. X!     int    object_code        (always 1)
  257. X!     int    sub_type        (1 : polyline, 2 : box, 3 : polygon)
  258. X!     int    line_style        (See the end of this section)
  259. X      int    thickness        (pixels, not used)
  260. X      int    color            (not used)
  261. X      int    depth            (not used)
  262. X***************
  263. X*** 190,196
  264. X      int    thickness        (pixels, not used)
  265. X      int    color            (not used)
  266. X      int    depth            (not used)
  267. X!     int    pen        ****    (pixels, radius of rounded-corner boxes)
  268. X      int    area_fill        (not used)
  269. X      float    style_val        (pixels)
  270. X      int    forward_arrow        (0: off, 1: on)
  271. X
  272. X--- 185,191 -----
  273. X      int    thickness        (pixels, not used)
  274. X      int    color            (not used)
  275. X      int    depth            (not used)
  276. X!     int    pen            (not used)
  277. X      int    area_fill        (not used)
  278. X      float    style_val        (pixels)
  279. X      int    forward_arrow        (0: off, 1: on)
  280. X***************
  281. X*** 217,228
  282. X      First line :
  283. X      type    name            (brief description)
  284. X      ----    ----            -------------------
  285. X!     int    object_code        (always 3)
  286. X!     int    sub_type        (0 : open spline
  287. X!                      1 : closed spline
  288. X!                      2 : open interpolated spline
  289. X!                      3 : closed interpolated spline)
  290. X!     int    style            (See the end of this section)
  291. X      int    thickness        (pixels, not used)
  292. X      int    color            (not used)
  293. X      int    depth            (not used)
  294. X
  295. X--- 212,223 -----
  296. X      First line :
  297. X      type    name            (brief description)
  298. X      ----    ----            -------------------
  299. X!     int    object_code        (always 1)
  300. X!     int    sub_type        (1 : open spline
  301. X!                      2 : closed spline
  302. X!                      3 : open interpolated spline
  303. X!                      4 : closed interpolated spline)
  304. X!     int    line_style        (See the end of this section)
  305. X      int    thickness        (pixels, not used)
  306. X      int    color            (not used)
  307. X      int    depth            (not used)
  308. X***************
  309. X*** 266,273
  310. X      int    sub_type        (0 : Left justified
  311. X                       1 : Center justified
  312. X                       2 : Right justified)
  313. X!     int    font             (font number 0-...)
  314. X!     int    font_size         (point size)
  315. X      int    pen            (not used)
  316. X      int    color            (not used)
  317. X      int    depth            (not used)
  318. X
  319. X--- 261,268 -----
  320. X      int    sub_type        (0 : Left justified
  321. X                       1 : Center justified
  322. X                       2 : Right justified)
  323. X!     int    font             (not used)
  324. X!     int    font_size         (not used)
  325. X      int    pen            (not used)
  326. X      int    color            (not used)
  327. X      int    depth            (not used)
  328. END_OF_FILE
  329. if test 9017 -ne `wc -c <'FORMAT1.4.diff'`; then
  330.     echo shar: \"'FORMAT1.4.diff'\" unpacked with wrong size!
  331. fi
  332. # end of 'FORMAT1.4.diff'
  333. fi
  334. if test -f 'FORMAT1.4X.diff' -a "${1}" != "-c" ; then 
  335.   echo shar: Will not clobber existing file \"'FORMAT1.4X.diff'\"
  336. else
  337. echo shar: Extracting \"'FORMAT1.4X.diff'\" \(10373 characters\)
  338. sed "s/^X//" >'FORMAT1.4X.diff' <<'END_OF_FILE'
  339. X*** /dev/null    Tue Mar  6 10:12:59 1990
  340. X--- FORMAT1.4X    Tue Mar  6 10:09:22 1990
  341. X***************
  342. X*** 0
  343. X
  344. X--- 1,289 -----
  345. X+ The following is the format of fig output (fig 1.4X).
  346. X+ 
  347. X+ (0) The only difference between 1.4 and 1.4X is that the interpretation
  348. X+     of the "pen" value in ARC_BOX is now the radius of the corners of the box.
  349. X+     Also, the ARC_BOX is sub-type 4 of POLYLINE.
  350. X+ 
  351. X+ (1) The very first line is a comment line containing the name and version:
  352. X+     #FIG 1.4X
  353. X+ 
  354. X+     The character # at the first column of a line indicates that the line
  355. X+     is a comment line which will be ignored.
  356. X+ 
  357. X+ (2) The first non-comment line consists of two numbers :
  358. X+ 
  359. X+     int    fig_resolution        (pixels/inch)
  360. X+     int    coordinate_system    (1 : origin is at the lower left corner
  361. X+                      2 : Upper left)
  362. X+ 
  363. X+     Fig_resolution is the resolution fig is using for the current file.
  364. X+     It may not be the same as screen resolution (which can be higher or
  365. X+     lower).  I assume that a pixel is square, therefore this number
  366. X+     represents drawing resolution in both direction.  I've experimented
  367. X+     with fig automatically changing this number according to the resolution
  368. X+     of the monitor it is running on (The screen resolution, width and height
  369. X+     in pixels, not pixel/inch, can be done by doing a ioctl on the /dev/fb).
  370. X+     I've found that for monitors with higher resolution but same size
  371. X+     (19" diagonal), I preferred using the pixels for other things than
  372. X+     having fig occupying most of the screen.  Thus I opted for a fixed
  373. X+     pixel-per-inch number which make fig window smaller on higher resolution
  374. X+     monitor (than the standard sun monitor).  This however may change in
  375. X+     the future version.
  376. X+ 
  377. X+ (3) The rest of the file contains various objects.  An object can be one
  378. X+     of six classes (or types).
  379. X+ 
  380. X+       i)    Ellipse which is a generalization of circle.
  381. X+      ii)    Polyline which includes polygon and box.
  382. X+     iii)    Spline which includes closed/open control/interpolated spline.
  383. X+      iv)    Text.
  384. X+       v)    Arc.
  385. X+      vi)    Compound object which is composed of one or more objects.
  386. X+ 
  387. X+     In the following elaboration on object formats, every value of fig
  388. X+     output are separated by blank characters or new line ('\n').  The
  389. X+     value of the not-used parameters will be -1.
  390. X+ 
  391. X+     A number of values are described as unused or not applicable to some
  392. X+     object even though they are defined for those objects.  These value
  393. X+     will (hopefully) be used in the future version of fig.  The intention
  394. X+     of their uses are the following.
  395. X+ 
  396. X+     Value            Usage
  397. X+     -----            -----
  398. X+     area_fill    The stipple pattern (which will be align) for
  399. X+             filling object internals.  For example, an filled
  400. X+             arc will look like a piece of pie.
  401. X+ 
  402. X+ **    pen        This will be a structure defining the shape of
  403. X+             pen used in drawing objects.  It also includes
  404. X+             the the stipple pattern for line filling.
  405. X+             The default pen is a circular pen with black
  406. X+             filling.
  407. X+ 
  408. X+     ** In 1.4X, pen is the radius (pixels) of the rounded-corner boxes.
  409. X+ 
  410. X+     thickness    Every pen has the thickness of one.
  411. X+             Thickness scales the size of a pen. 
  412. X+ 
  413. X+     depth        This value adds a half dimension to fig.
  414. X+             It is useful when we have overlapping filled
  415. X+             objects and we want one to obliterate another.
  416. X+             An object can have only one depth (including
  417. X+             compound object).  An object that is in less
  418. X+             depth can obscure the one with greater depth
  419. X+             if they overlap.
  420. X+     
  421. X+     style        Only polyline (including polygon and box) can
  422. X+             be rendered with dashed line.  However the
  423. X+             objects created when the dash-line mode was on
  424. X+             will be recorded as such.  Currently the filter
  425. X+             f2ps (1) is able to render the desired line style
  426. X+             effect on hard copy.  Three line styles are defined.
  427. X+ 
  428. X+                 0 : SOLID_LINE
  429. X+                 1 : DASH_LINE
  430. X+                 2 : DOTTED_LINE
  431. X+ 
  432. X+     style_val    For dash style, it is the length of a dash.
  433. X+             For dotted line it indicates the approximated
  434. X+             gap of consecutive dots. 
  435. X+ 
  436. X+     (3.1) ELLIPSE
  437. X+ 
  438. X+     First line :
  439. X+     type    name            (brief description)
  440. X+     ----    ----            -------------------
  441. X+     int    object_code        (always 1)
  442. X+     int    sub_type        (1 : ellipse defined by radiuses
  443. X+                      2 : ellipse defined by diameters
  444. X+                      3 : circle defined by radius
  445. X+                      4 : circle defined by diameter)
  446. X+     int    style            (See the end of this section)
  447. X+     int    thickness        (pixels, not used)
  448. X+     int    color            (not used)
  449. X+     int    depth            (not used)
  450. X+     int    pen            (not used)
  451. X+     int    area_fill        (not used)
  452. X+     float    style_val        (pixels, not used)
  453. X+     int    direction        (always 1)
  454. X+     float    angle            (radian, the angle of the x-axis)
  455. X+     int    center_x, center_y    (pixels)
  456. X+     int    radius_x, radius_y    (pixels)
  457. X+     int    start_x, start_y    (pixels; the 1st point entered)
  458. X+     int    end_x, end_y        (pixels; the last point entered)
  459. X+ 
  460. X+     (3.2) POLYLINE
  461. X+ 
  462. X+     First line :
  463. X+     type    name            (brief description)
  464. X+     ----    ----            -------------------
  465. X+     int    object_code        (always 2)
  466. X+     int    sub_type        (1 : polyline, 2 : box, 
  467. X+                      3 : polygon, 4 : rounded-corner box)
  468. X+     int    style            (See the end of this section)
  469. X+     int    thickness        (pixels, not used)
  470. X+     int    color            (not used)
  471. X+     int    depth            (not used)
  472. X+     int    pen        ****    (pixels, radius of rounded-corner boxes)
  473. X+     int    area_fill        (not used)
  474. X+     float    style_val        (pixels)
  475. X+     int    forward_arrow        (0: off, 1: on)
  476. X+     int    backward_arrow        (0: off, 1: on)
  477. X+ 
  478. X+     Forward arrow line : same as ARC object
  479. X+ 
  480. X+     Backward arrow line : same as ARC object
  481. X+ 
  482. X+     Points line :
  483. X+     type    name            (brief description)
  484. X+     ----    ----            -------------------
  485. X+     int    x1, y1            (pixels)
  486. X+     int    x2, y2            (pixels)
  487. X+       .
  488. X+       .
  489. X+     int    xn, yn            (this will be the same as the 1st
  490. X+                     point for polygon and box)
  491. X+     int    x, y            (always 9999, 9999; marks the end of
  492. X+                     point for polygon and box)
  493. X+ 
  494. X+     (3.3) SPLINE
  495. X+ 
  496. X+     First line :
  497. X+     type    name            (brief description)
  498. X+     ----    ----            -------------------
  499. X+     int    object_code        (always 3)
  500. X+     int    sub_type        (0 : open spline
  501. X+                      1 : closed spline
  502. X+                      2 : open interpolated spline
  503. X+                      3 : closed interpolated spline)
  504. X+     int    style            (See the end of this section)
  505. X+     int    thickness        (pixels, not used)
  506. X+     int    color            (not used)
  507. X+     int    depth            (not used)
  508. X+     int    pen            (not used)
  509. X+     int    area_fill        (not used)
  510. X+     float    style_val        (pixels, not used)
  511. X+     int    forward_arrow        (0: off, 1: on)
  512. X+     int    backward_arrow        (0: off, 1: on)
  513. X+ 
  514. X+     Forward arrow line : same as ARC object
  515. X+ 
  516. X+     Backward arrow line : same as ARC object
  517. X+ 
  518. X+     Points line : same as POLYLINE object
  519. X+ 
  520. X+     Control points line (absent if sub_type is 1 or 2) :
  521. X+     Control points of interpolated spline.  There are two control
  522. X+     points for each knots.  A section i, of the spline is drawn
  523. X+     using Bezier cubic with the following four points:
  524. X+         (x ,y ), (rx ,ry ), (lx      , ly   ), (x   , y   ).
  525. X+           i  i        i    i      i+1    i+1     i+1   i+1
  526. X+     For closed interpolated spline the last pair of control points,
  527. X+     (lxn,lyn) and (rxn,ryn) (which can be ignored), are the same as
  528. X+     (lx1,ly1) and (rx1,ry1) respectively.
  529. X+ 
  530. X+     type    name            (brief description)
  531. X+     ----    ----            -------------------
  532. X+     float    lx1, ly1        (pixels)
  533. X+     float    rx1, ry1        (pixels)
  534. X+     float    lx2, ly2        (pixels)
  535. X+     float    rx2, ry2        (pixels)
  536. X+       .
  537. X+       .
  538. X+     float    lxn, lyn        (pixels)
  539. X+     float    rxn, ryn        (pixels)
  540. X+ 
  541. X+     (3.4) TEXT
  542. X+     type    name            (brief description)
  543. X+     ----    ----            -------------------
  544. X+     int    object             (always 4)
  545. X+     int    sub_type        (0 : Left justified
  546. X+                      1 : Center justified
  547. X+                      2 : Right justified)
  548. X+     int    font             (font number 0-...)
  549. X+     int    font_size         (point size)
  550. X+     int    pen            (not used)
  551. X+     int    color            (not used)
  552. X+     int    depth            (not used)
  553. X+     int    angle            (radian, not used, the angle of the
  554. X+                     the base line of the string)
  555. X+     int    font_style        (not used)
  556. X+     int    height            (pixels)
  557. X+     int    length            (pixels)
  558. X+     int    x, y            (pixels, coordinate of the origin
  559. X+                      of the string.  If sub_type = 0, it is
  560. X+                      the lower left corner of the string.
  561. X+                      If sub_type = 1, it is the lower
  562. X+                      center.  Otherwise it is the lower
  563. X+                      right corner of the string.)
  564. X+     char    string[]        (ascii characters; starts after a blank
  565. X+                     character following the last number and
  566. X+                     ends before the character '\1'.  This
  567. X+                     character is not part of the string.
  568. X+                     Note that the string may contain '\n'.)
  569. X+     (3.5) ARC
  570. X+ 
  571. X+     First line :
  572. X+     type    name            (brief description)
  573. X+     ----    ----            -------------------
  574. X+     int    object_code        (always 5)
  575. X+     int    sub_type        (always    1)
  576. X+     int    style            (See the end of this section)
  577. X+     int    line_thickness        (pixels, not used)
  578. X+     int    color            (not used)
  579. X+     int    depth            (not used)
  580. X+     int    pen            (not used)
  581. X+     int    area_fill        (not used)
  582. X+     float    style_val        (pixels, not used)
  583. X+     int    direction        (0 : clockwise, 1 : counterclockwise)
  584. X+     int    forward_arrow        (0: no forward arrow, 1: on)
  585. X+     int    backward_arrow        (0: no forward arrow, 1: on)
  586. X+     float    center_x, center_y    (center of the arc)
  587. X+     int    x1, y1            (pixels, the 1st point the user entered)
  588. X+     int    x2, y2            (pixels, the 2nd point)
  589. X+     int    x3, y3            (pixels, the last point)
  590. X+ 
  591. X+     Forward arrow line (Optional; absent if forward_arrow is 0) :
  592. X+     type    name            (brief description)
  593. X+     ----    ----            -------------------
  594. X+     int    arrow_type        (not used)
  595. X+     int    arrow_style        (not used)
  596. X+     float    arrow_thickness        (not used)
  597. X+     float    arrow_width        (pixels)
  598. X+     float    arrow_height        (pixels)
  599. X+ 
  600. X+     Backward arrow line (Optional; absent if backward_arrow is 0) :
  601. X+     type    name            (brief description)
  602. X+     ----    ----            -------------------
  603. X+     int    arrow_type        (not used)
  604. X+     int    arrow_style        (not used)
  605. X+     float    arrow_thickness        (not used)
  606. X+     float    arrow_width        (pixels)
  607. X+     float    arrow_height        (pixels)
  608. X+ 
  609. X+     (3.6) COMPOUND
  610. X+ 
  611. X+     A line with object code 6 signifies the start of a compound.
  612. X+     There are four more numbers on this line which indicate the
  613. X+     upper right corner and the lower left corner of the bounding
  614. X+     box of this compound.  A line with object code -6 signifies
  615. X+     the end of the compound.  Compound may be nested.
  616. X+ 
  617. X+     First line :
  618. X+     type    name            (brief description)
  619. X+     ----    ----            -------------------
  620. X+     int    object_code        (always 6)
  621. X+     int    upperright_corner_x    (pixels)
  622. X+     int    upperright_corner_y    (pixels)
  623. X+     int    lowerleft_corner_x    (pixels)
  624. X+     int    lowerleft_corner_y    (pixels)
  625. X+ 
  626. X+     Subsequent lines :
  627. X+     objects
  628. X+     .
  629. X+     .
  630. X+ 
  631. X+     Last line :
  632. X+     -6
  633. X+ 
  634. END_OF_FILE
  635. if test 10373 -ne `wc -c <'FORMAT1.4X.diff'`; then
  636.     echo shar: \"'FORMAT1.4X.diff'\" unpacked with wrong size!
  637. fi
  638. # end of 'FORMAT1.4X.diff'
  639. fi
  640. if test -f 'psbits3.c.diff' -a "${1}" != "-c" ; then 
  641.   echo shar: Will not clobber existing file \"'psbits3.c.diff'\"
  642. else
  643. echo shar: Extracting \"'psbits3.c.diff'\" \(10989 characters\)
  644. sed "s/^X//" >'psbits3.c.diff' <<'END_OF_FILE'
  645. X*** psbits3.c.old    Mon Feb 19 11:29:15 1990
  646. X--- psbits3.c    Fri Mar  2 12:14:49 1990
  647. X***************
  648. X*** 13,18
  649. X  /* These are the bitmaps for the font menu panes */
  650. X  /* Part 3 of 3 */
  651. X  
  652. X  static char Palatino_Bold_bits[] = {
  653. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  654. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  655. X
  656. X--- 13,19 -----
  657. X  /* These are the bitmaps for the font menu panes */
  658. X  /* Part 3 of 3 */
  659. X  
  660. X+ #ifndef TFX
  661. X  static char Palatino_Bold_bits[] = {
  662. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  663. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  664. X***************
  665. X*** 706,711
  666. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  667. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  668. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
  669. X  
  670. X  Pixmap    font_menu_bitmaps[NUMFONTS];
  671. X  
  672. X
  673. X--- 707,713 -----
  674. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  675. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  676. X      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
  677. X+ #endif
  678. X  
  679. X  Pixmap    font_menu_bitmaps[NUMFONTS];
  680. X  
  681. X***************
  682. X*** 709,714
  683. X  
  684. X  Pixmap    font_menu_bitmaps[NUMFONTS];
  685. X  
  686. X  char    *font_menu_bits[NUMFONTS] = {
  687. X          Times_Roman_bits,
  688. X          Times_Italic_bits,
  689. X
  690. X--- 711,717 -----
  691. X  
  692. X  Pixmap    font_menu_bitmaps[NUMFONTS];
  693. X  
  694. X+ #ifndef TFX
  695. X  char    *font_menu_bits[NUMFONTS] = {
  696. X          Times_Roman_bits,
  697. X          Times_Italic_bits,
  698. X***************
  699. X*** 746,748
  700. X          ZapfChancery_MediumItalic_bits,
  701. X          ZapfDingBats_bits,
  702. X      };
  703. X
  704. X--- 749,915 -----
  705. X          ZapfChancery_MediumItalic_bits,
  706. X          ZapfDingBats_bits,
  707. X      };
  708. X+ #else
  709. X+ 
  710. X+ /* TFX font names */
  711. X+ 
  712. X+ static char Default_bits[] = {
  713. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  714. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  715. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  716. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x1f,0x00,
  717. X+     0x70,0x00,0x00,0x0e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,
  718. X+     0x38,0x00,0x58,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,
  719. X+     0x00,0xc0,0x60,0x00,0x08,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,
  720. X+     0x00,0x00,0x00,0xc0,0x60,0x00,0x0c,0x00,0x00,0x8c,0x01,0x00,
  721. X+     0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x78,0x3e,0x9e,0x73,0xcc,
  722. X+     0x07,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0xcc,0x0c,0x33,
  723. X+     0x63,0x8c,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x86,
  724. X+     0x0d,0x33,0x63,0x8c,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,
  725. X+     0xc0,0xfe,0x0d,0x38,0x63,0x8c,0x01,0x00,0x00,0x00,0x00,0x00,
  726. X+     0x00,0xc0,0xc0,0x06,0x0c,0x36,0x63,0x8c,0x01,0x00,0x00,0x00,
  727. X+     0x00,0x00,0x00,0xc0,0x60,0x06,0x0c,0x33,0x63,0x8c,0x01,0x00,
  728. X+     0x00,0x00,0x00,0x00,0x00,0xc0,0x60,0x0e,0x0d,0x33,0x63,0x8c,
  729. X+     0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x38,0xdc,0x0c,0x3f,
  730. X+     0x77,0x8c,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x1f,0x78,
  731. X+     0x1e,0x66,0xee,0x1e,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  732. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  733. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  734. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  735. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  736. X+     0x00,0x00,0x00,0x00 };
  737. X+ static char Roman_bits[] = {
  738. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  739. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  740. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  741. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x3f,0x00,
  742. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
  743. X+     0x71,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  744. X+     0x00,0x80,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  745. X+     0x00,0x00,0x00,0x80,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  746. X+     0x00,0x00,0x00,0x00,0x00,0x80,0x61,0x78,0x9c,0x31,0x78,0x9c,
  747. X+     0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x31,0xcc,0xd8,0x7b,
  748. X+     0xcc,0xd8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x1f,0x86,
  749. X+     0x39,0x67,0xcc,0x38,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
  750. X+     0x19,0x86,0x19,0x63,0xe0,0x18,0x03,0x00,0x00,0x00,0x00,0x00,
  751. X+     0x00,0x80,0x31,0x86,0x19,0x63,0xd8,0x18,0x03,0x00,0x00,0x00,
  752. X+     0x00,0x00,0x00,0x80,0x61,0x86,0x19,0x63,0xcc,0x18,0x03,0x00,
  753. X+     0x00,0x00,0x00,0x00,0x00,0x80,0x61,0x86,0x19,0x63,0xcc,0x18,
  754. X+     0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc1,0xcc,0x18,0x63,
  755. X+     0xfc,0x18,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc3,0x79,
  756. X+     0xbc,0xf7,0x98,0x3d,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  757. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  758. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  759. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  760. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  761. X+     0x00,0x00,0x00,0x00 };
  762. X+ static char Italic_bits[] = {
  763. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  764. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  765. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  766. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x00,
  767. X+     0x00,0xc7,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  768. X+     0x60,0x00,0x00,0xc6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  769. X+     0x00,0x00,0x60,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,
  770. X+     0x00,0x00,0x00,0x00,0x60,0x08,0x00,0x02,0x00,0x00,0x00,0x00,
  771. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x0c,0x00,0x03,0x00,0x00,
  772. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x1f,0x2f,0x73,
  773. X+     0xf0,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0xc6,
  774. X+     0x1c,0x63,0x9c,0x4c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  775. X+     0x30,0x46,0x18,0x63,0x04,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,
  776. X+     0x00,0x00,0x18,0x62,0x18,0x23,0x06,0x18,0x00,0x00,0x00,0x00,
  777. X+     0x00,0x00,0x00,0x00,0x18,0x63,0x8c,0x31,0x06,0x30,0x00,0x00,
  778. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x63,0x8c,0x31,0x06,0x62,
  779. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0xeb,0xae,0xb5,
  780. X+     0x4e,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x86,
  781. X+     0x99,0x73,0x3c,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  782. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  783. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  784. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  785. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  786. X+     0x00,0x00,0x00,0x00 };
  787. X+ static char Bold_bits[] = {
  788. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  789. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  790. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  791. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x7f,
  792. X+     0x00,0x78,0xe0,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  793. X+     0x00,0xe7,0x00,0x70,0xc0,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
  794. X+     0x00,0x00,0x00,0xc7,0x01,0x70,0xc0,0x01,0x00,0x00,0x00,0x00,
  795. X+     0x00,0x00,0x00,0x00,0x00,0xc7,0x01,0x70,0xc0,0x01,0x00,0x00,
  796. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0xf1,0x70,0xd8,0x01,
  797. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe7,0x98,0x71,
  798. X+     0xfc,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,
  799. X+     0x9c,0x73,0xce,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  800. X+     0x00,0xc7,0x9d,0x73,0xce,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
  801. X+     0x00,0x00,0x00,0x87,0x9f,0x73,0xce,0x01,0x00,0x00,0x00,0x00,
  802. X+     0x00,0x00,0x00,0x00,0x00,0x87,0x9f,0x73,0xce,0x01,0x00,0x00,
  803. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x87,0x9f,0x73,0xce,0x01,
  804. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0x99,0x71,
  805. X+     0xdc,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x7f,
  806. X+     0xf0,0xf8,0xb8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  807. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  808. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  809. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  810. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  811. X+     0x00,0x00,0x00,0x00 };
  812. X+ static char Modern_bits[] = {
  813. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  814. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  815. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  816. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x60,0x00,
  817. X+     0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,
  818. X+     0x60,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  819. X+     0x00,0x0e,0x70,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,
  820. X+     0x00,0x00,0x00,0x0e,0x70,0x00,0x00,0x18,0x00,0x00,0x00,0x00,
  821. X+     0x00,0x00,0x00,0x00,0x00,0x1e,0x78,0xf8,0xc0,0x1b,0x1e,0x36,
  822. X+     0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x1e,0x78,0xfc,0xe1,0x1f,
  823. X+     0x3f,0x36,0xfb,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x6c,0x8c,
  824. X+     0x61,0x9c,0x61,0x0e,0xc7,0x00,0x00,0x00,0x00,0x00,0x00,0x36,
  825. X+     0x6c,0x06,0x33,0x98,0x61,0x06,0xc3,0x00,0x00,0x00,0x00,0x00,
  826. X+     0x00,0x66,0x66,0x06,0x33,0x98,0x7f,0x06,0xc3,0x00,0x00,0x00,
  827. X+     0x00,0x00,0x00,0x66,0x66,0x06,0x33,0x98,0x01,0x06,0xc3,0x00,
  828. X+     0x00,0x00,0x00,0x00,0x00,0x46,0x62,0x06,0x33,0x98,0x01,0x06,
  829. X+     0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc6,0x63,0x8c,0x61,0x9c,
  830. X+     0x63,0x06,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x86,0x61,0xfc,
  831. X+     0xe1,0x1f,0x7f,0x06,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x86,
  832. X+     0x61,0xf8,0xc0,0x1b,0x1e,0x06,0xc3,0x00,0x00,0x00,0x00,0x00,
  833. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  834. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  835. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  836. X+     0x00,0x00,0x00,0x00 };
  837. X+ static char Typewriter_bits[] = {
  838. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  839. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  840. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  841. X+     0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x1f,0x00,0x00,0x00,0x00,
  842. X+     0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x10,0x11,0x00,0x00,
  843. X+     0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x10,0x11,
  844. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
  845. X+     0x10,0x91,0xe3,0xec,0x81,0x07,0xc7,0xb9,0xc3,0xc1,0x1f,0x3c,
  846. X+     0xb8,0x03,0x00,0x01,0x41,0x18,0x42,0x08,0x82,0x60,0x04,0x01,
  847. X+     0x01,0x42,0x60,0x04,0x00,0x01,0x41,0x08,0x24,0x10,0x92,0x20,
  848. X+     0x00,0x01,0x01,0x81,0x20,0x00,0x00,0x01,0x22,0x08,0xe4,0x1f,
  849. X+     0x92,0x20,0x00,0x01,0x01,0xff,0x20,0x00,0x00,0x01,0x22,0x08,
  850. X+     0x24,0x00,0xaa,0x20,0x00,0x01,0x01,0x01,0x20,0x00,0x00,0x01,
  851. X+     0x14,0x08,0x24,0x00,0xaa,0x20,0x00,0x01,0x01,0x01,0x20,0x00,
  852. X+     0x00,0x01,0x14,0x18,0x42,0x18,0x44,0x20,0x00,0x01,0x21,0xc2,
  853. X+     0x20,0x00,0xc0,0x07,0x08,0xe8,0x81,0x07,0x44,0xf8,0xe3,0x0f,
  854. X+     0x1e,0x3c,0xf8,0x03,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,
  855. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x08,0x00,0x00,
  856. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x08,
  857. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
  858. X+     0x0f,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  859. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  860. X+     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  861. X+     0x00,0x00,0x00,0x00 };
  862. X+ 
  863. X+ char    *font_menu_bits[NUMFONTS] = {
  864. X+         Default_bits,
  865. X+         Roman_bits,
  866. X+         Bold_bits,
  867. X+         Italic_bits,
  868. X+         Modern_bits,
  869. X+         Typewriter_bits,
  870. X+     };
  871. X+ #endif TFX
  872. END_OF_FILE
  873. if test 10989 -ne `wc -c <'psbits3.c.diff'`; then
  874.     echo shar: \"'psbits3.c.diff'\" unpacked with wrong size!
  875. fi
  876. # end of 'psbits3.c.diff'
  877. fi
  878. if test -f 'xfig.l.diff' -a "${1}" != "-c" ; then 
  879.   echo shar: Will not clobber existing file \"'xfig.l.diff'\"
  880. else
  881. echo shar: Extracting \"'xfig.l.diff'\" \(9573 characters\)
  882. sed "s/^X//" >'xfig.l.diff' <<'END_OF_FILE'
  883. X*** xfig.l.old    Fri Mar  2 10:11:18 1990
  884. X--- xfig.l    Mon Mar 12 15:05:40 1990
  885. X***************
  886. X*** 1,4
  887. X! .TH XFIG 1 "8 August 1988"
  888. X  .SH NAME
  889. X  xfig \- Facility for Interactive Generation of figures under X11
  890. X  .SH SYNOPSIS
  891. X
  892. X--- 1,4 -----
  893. X! .TH XFIG 1 "Release 2.0 (Protocol 1.4X)"
  894. X  .SH NAME
  895. X  xfig \- Facility for Interactive Generation of figures under X11
  896. X  .SH SYNOPSIS
  897. X***************
  898. X*** 27,33
  899. X  specifies the name of a file to be edited. The description of objects in
  900. X  the file will be read at the start of \fIxfig\fP. 
  901. X  .PP
  902. X! The output from \fIxfig\fP can be printed on a postcript printer:
  903. X  .PP
  904. X  f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce a 
  905. X  .I postscript
  906. X
  907. X--- 27,33 -----
  908. X  specifies the name of a file to be edited. The description of objects in
  909. X  the file will be read at the start of \fIxfig\fP. 
  910. X  .PP
  911. X! The output from \fIxfig\fP can be printed in several ways:
  912. X  .PP
  913. X  .B Postscript -
  914. X  f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce a 
  915. X***************
  916. X*** 29,34
  917. X  .PP
  918. X  The output from \fIxfig\fP can be printed on a postcript printer:
  919. X  .PP
  920. X  f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce a 
  921. X  .I postscript
  922. X  file from an \fIxfig\fP file.
  923. X
  924. X--- 29,35 -----
  925. X  .PP
  926. X  The output from \fIxfig\fP can be printed in several ways:
  927. X  .PP
  928. X+ .B Postscript -
  929. X  f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce a 
  930. X  .I postscript
  931. X  file from an \fIxfig\fP file.
  932. X***************
  933. X*** 35,40
  934. X  The 
  935. X  .I postscript
  936. X  file can be sent directly to a postscript printer.
  937. X  .SH OPTIONS
  938. X  .TP
  939. X  .B \-ri
  940. X
  941. X--- 36,80 -----
  942. X  The 
  943. X  .I postscript
  944. X  file can be sent directly to a postscript printer.
  945. X+ .PP
  946. X+ .B troff -
  947. X+ f2p (\fIxfig\fP to \fIpic\fP(1) translator, also known by its previous
  948. X+ name \fIf2fp\fP(1L)) is used to translate \fIxfig\fP files into
  949. X+ .IR pic (1)
  950. X+ language.
  951. X+ The resulting file may then be processed in the same manner as any other
  952. X+ .I pic
  953. X+ file.  Note that area fill, line thicknesses and multiple fonts are not
  954. X+ supported by \fIftop\fP.
  955. X+ .PP
  956. X+ .B LaTeX -
  957. X+ fig2latex (\fIxfig\fP to \fILaTeX\fP translator) produces a
  958. X+ .I LaTeX
  959. X+ file from an
  960. X+ .I xfig
  961. X+ file.
  962. X+ This file contains
  963. X+ .I LaTeX
  964. X+ picture environment commands and can be
  965. X+ processed along with other
  966. X+ .I LaTeX
  967. X+ commands.
  968. X+ This program is in the \fITransFig\fP package available from
  969. X+ svax.cs.cornell.edu via anonymous ftp.
  970. X+ .PP
  971. X+ .B PiCTeX -
  972. X+ fig2tex (\fIxfig\fP to \fIPiCTeX\fP translator) produces a
  973. X+ .I PiCTeX
  974. X+ file from an
  975. X+ .I xfig
  976. X+ file.  This file contains macros that can be
  977. X+ used with the
  978. X+ .I PiCTeX
  979. X+ environment under
  980. X+ .I TeX
  981. X+ or
  982. X+ .I LaTeX.
  983. X+ This is also available from the \fITransFig\fP package.
  984. X  .SH OPTIONS
  985. X  .TP
  986. X  .B \-ri
  987. X***************
  988. X*** 325,331
  989. X  Move objects in the same way as in \fICOPY\fP.
  990. X  .TP
  991. X  .I MOVE POINT
  992. X! Modify the position of points of \fIPOLYLINE, \fIBOX\fP, \fIPOLYGON\fP,
  993. X  \fIELLIPSE\fP, \fIARC\fP and \fISPLINE\fP
  994. X  objects.  Click the left button over the desired point, reposition the point,
  995. X  and click the middle button.  Note that \fIBOX\fP, 
  996. X
  997. X--- 365,371 -----
  998. X  Move objects in the same way as in \fICOPY\fP.
  999. X  .TP
  1000. X  .I MOVE POINT
  1001. X! Modify the position of points of \fIPOLYLINE\fP, \fIBOX\fP, \fIPOLYGON\fP,
  1002. X  \fIELLIPSE\fP, \fIARC\fP and \fISPLINE\fP
  1003. X  objects.  Click the left button over the desired point, reposition the point,
  1004. X  and click the middle button.  Note that \fIBOX\fP, 
  1005. X***************
  1006. X*** 418,423
  1007. X  .I SOLID/DASHED/DOTTED LINE STYLE
  1008. X  Toggle between solid, dashed and dotted line styles. The dash length
  1009. X  is fixed at 0.05 inch.
  1010. X  .SH X DEFAULTS
  1011. X  The overall widget name(Class) is xfig.fig(Fig.TopLevelShell).  This
  1012. X  set of resources correspond to the command line arguments:
  1013. X
  1014. X--- 458,474 -----
  1015. X  .I SOLID/DASHED/DOTTED LINE STYLE
  1016. X  Toggle between solid, dashed and dotted line styles. The dash length
  1017. X  is fixed at 0.05 inch.
  1018. X+ .PP
  1019. X+ If \fIxfig\fP is compiled with the -DTFX option (TransFig compatibility)
  1020. X+ then the following two buttons are available:
  1021. X+ .TP
  1022. X+ .I LATEX LINE
  1023. X+ Allow lines to be drawn only at slopes which can be handled by LaTeX picture
  1024. X+ environment lines: slope = x/y, where x,y are integers in the range [-6,6].
  1025. X+ .TP
  1026. X+ .I LATEX VECTOR
  1027. X+ Allow lines to be drawn only at slopes which can be handled by LaTeX picture
  1028. X+ environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
  1029. X  .SH X DEFAULTS
  1030. X  The overall widget name(Class) is xfig.fig(Fig.TopLevelShell).  This
  1031. X  set of resources correspond to the command line arguments:
  1032. X***************
  1033. X*** 423,429
  1034. X  set of resources correspond to the command line arguments:
  1035. X  .TP 1.25i
  1036. X  justify
  1037. X! (boolean:false) -right and -left arguments
  1038. X  .TP
  1039. X  landscape
  1040. X  (boolean:false) -Landscape and -Portrait arguments
  1041. X
  1042. X--- 474,480 -----
  1043. X  set of resources correspond to the command line arguments:
  1044. X  .TP 1.25i
  1045. X  justify
  1046. X! (boolean:false) -right (true) and -left (false) arguments
  1047. X  .TP
  1048. X  landscape
  1049. X  (boolean:true) -Landscape and -Portrait arguments
  1050. X***************
  1051. X*** 426,432
  1052. X  (boolean:false) -right and -left arguments
  1053. X  .TP
  1054. X  landscape
  1055. X! (boolean:false) -Landscape and -Portrait arguments
  1056. X  .TP
  1057. X  width
  1058. X  (integer:7.5 or 10 inches) -width argument
  1059. X
  1060. X--- 477,483 -----
  1061. X  (boolean:false) -right (true) and -left (false) arguments
  1062. X  .TP
  1063. X  landscape
  1064. X! (boolean:true) -Landscape and -Portrait arguments
  1065. X  .TP
  1066. X  width
  1067. X  (integer:7.5 or 10 inches) -width argument
  1068. X***************
  1069. X*** 461,467
  1070. X  form.panel(Form.Box)
  1071. X  .TP
  1072. X  bottom panel
  1073. X! form.panel2(Form.Box)
  1074. X  .TP
  1075. X  icons
  1076. X  form.panel.button(Form.Box.Command)
  1077. X
  1078. X--- 512,518 -----
  1079. X  form.panel(Form.Box)
  1080. X  .TP
  1081. X  bottom panel
  1082. X! form.bottom_panel(Form.Box)
  1083. X  .TP
  1084. X  icons
  1085. X  form.panel.button(Form.Box.Command)
  1086. X***************
  1087. X*** 465,471
  1088. X  .TP
  1089. X  icons
  1090. X  form.panel.button(Form.Box.Command)
  1091. X! form.panel2.button(Form.Box.Command)
  1092. X  .TP
  1093. X  top ruler
  1094. X  form.truler(Form.Label)
  1095. X
  1096. X--- 516,522 -----
  1097. X  .TP
  1098. X  icons
  1099. X  form.panel.button(Form.Box.Command)
  1100. X! form.bottom_panel.button(Form.Box.Command)
  1101. X  .TP
  1102. X  top ruler
  1103. X  form.truler(Form.Label)
  1104. X***************
  1105. X*** 487,492
  1106. X  .TP
  1107. X  menu items
  1108. X  form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
  1109. X  .PP
  1110. X  For example, to set the background of the side panel to blue the resource
  1111. X  would be:
  1112. X
  1113. X--- 538,552 -----
  1114. X  .TP
  1115. X  menu items
  1116. X  form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
  1117. X+ .TP
  1118. X+ font menu
  1119. X+ form.font_menu.menu(Form.OverrideShell.Box)
  1120. X+ .TP
  1121. X+ indicator panel
  1122. X+ form.indicator(Form.Box)
  1123. X+ .TP
  1124. X+ font indicator window
  1125. X+ form.font_indicator(Form.Label)
  1126. X  .PP
  1127. X  For example, to set the background of the side panel to blue and the 
  1128. X  indicator panel background to green the resources
  1129. X***************
  1130. X*** 488,494
  1131. X  menu items
  1132. X  form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
  1133. X  .PP
  1134. X! For example, to set the background of the side panel to blue the resource
  1135. X  would be:
  1136. X  .br
  1137. X  \f(CWxfig*form.panel.background: blue\fP
  1138. X
  1139. X--- 548,555 -----
  1140. X  font indicator window
  1141. X  form.font_indicator(Form.Label)
  1142. X  .PP
  1143. X! For example, to set the background of the side panel to blue and the 
  1144. X! indicator panel background to green the resources
  1145. X  would be:
  1146. X  .br
  1147. X  \f(CWxfig*form.panel.background: blue\fP
  1148. X***************
  1149. X*** 492,497
  1150. X  would be:
  1151. X  .br
  1152. X  \f(CWxfig*form.panel.background: blue\fP
  1153. X  .SH BUGS
  1154. X  .PP
  1155. X  Sometimes, \fIxfig\fP doesn't see that a figure has been modified,
  1156. X
  1157. X--- 553,560 -----
  1158. X  would be:
  1159. X  .br
  1160. X  \f(CWxfig*form.panel.background: blue\fP
  1161. X+ .br
  1162. X+ \f(CWxfig*form.indicator.background: blue\fP
  1163. X  .SH BUGS
  1164. X  .PP
  1165. X  Creating a text object is not "Undoable".
  1166. X***************
  1167. X*** 494,505
  1168. X  \f(CWxfig*form.panel.background: blue\fP
  1169. X  .SH BUGS
  1170. X  .PP
  1171. X- Sometimes, \fIxfig\fP doesn't see that a figure has been modified,
  1172. X- and will allow the user to quit or edit a new figure without confirmation.
  1173. X- .PP
  1174. X- Drawing text sometimes freezes up xfig.  Working on it.  Any help in this 
  1175. X- area is welcome.
  1176. X- .PP
  1177. X  Creating a text object is not "Undoable".
  1178. X  .PP
  1179. X  Area fill doesn't show on the canvas for closed splines, but are filled 
  1180. X
  1181. X--- 557,562 -----
  1182. X  \f(CWxfig*form.indicator.background: blue\fP
  1183. X  .SH BUGS
  1184. X  .PP
  1185. X  Creating a text object is not "Undoable".
  1186. X  .PP
  1187. X  Area fill doesn't show on the canvas for closed splines, but are filled 
  1188. X***************
  1189. X*** 509,515
  1190. X  Undoing the creation of a compound object deletes the objects
  1191. X  inside the compound object.  Undoing the undo doesn't bring them back.
  1192. X  .PP
  1193. X! Ellipses which are too narrow may cause \fIxfig\fP to loop forever.
  1194. X  .PP
  1195. X  Objects which are created while one of the 
  1196. X  .I grids
  1197. X
  1198. X--- 566,572 -----
  1199. X  Undoing the creation of a compound object deletes the objects
  1200. X  inside the compound object.  Undoing the undo doesn't bring them back.
  1201. X  .PP
  1202. X! Ellipses which are too narrow are not drawn correctly.
  1203. X  .PP
  1204. X  Objects which are created while one of the 
  1205. X  .I grids
  1206. X***************
  1207. X*** 521,527
  1208. X  Brian W. Kernighan
  1209. X  .I "PIC - A Graphics Language for Typesetting User Manual"
  1210. X  .br
  1211. X! f2ps(1)
  1212. X  .SH ACKNOWLEDGEMENT
  1213. X  Many thanks goes to Professor Donald E. Fussell who inspired the
  1214. X  creation of this tool.
  1215. X
  1216. X--- 578,584 -----
  1217. X  Brian W. Kernighan
  1218. X  .I "PIC - A Graphics Language for Typesetting User Manual"
  1219. X  .br
  1220. X! f2ps(1) f2p(1)
  1221. X  .SH ACKNOWLEDGEMENT
  1222. X  Many thanks goes to Professor Donald E. Fussell who inspired the
  1223. X  creation of this tool.
  1224. X***************
  1225. X*** 541,546
  1226. X  UCSF School of Pharmacy
  1227. X  .br
  1228. X  San Francisco, CA 94118 
  1229. X  .sp
  1230. X  X11 port by:
  1231. X  .br
  1232. X
  1233. X--- 598,609 -----
  1234. X  UCSF School of Pharmacy
  1235. X  .br
  1236. X  San Francisco, CA 94118 
  1237. X+ .sp
  1238. X+ The LaTeX line drawing modes were contributed by:
  1239. X+ .br
  1240. X+ Frank Schmuck
  1241. X+ .br
  1242. X+ Cornell University
  1243. X  .sp
  1244. X  X11 port by:
  1245. X  .br
  1246. END_OF_FILE
  1247. if test 9573 -ne `wc -c <'xfig.l.diff'`; then
  1248.     echo shar: \"'xfig.l.diff'\" unpacked with wrong size!
  1249. fi
  1250. # end of 'xfig.l.diff'
  1251. fi
  1252. echo shar: End of archive 2 \(of 3\).
  1253. cp /dev/null ark2isdone
  1254. MISSING=""
  1255. for I in 1 2 3 ; do
  1256.     if test ! -f ark${I}isdone ; then
  1257.     MISSING="${MISSING} ${I}"
  1258.     fi
  1259. done
  1260. if test "${MISSING}" = "" ; then
  1261.     echo You have unpacked all 3 archives.
  1262.     rm -f ark[1-9]isdone
  1263. else
  1264.     echo You still need to unpack the following archives:
  1265.     echo "        " ${MISSING}
  1266. fi
  1267. ##  End of shell archive.
  1268. exit 0
  1269.  
  1270. dan
  1271. -----------------------------------------------------------
  1272.             O'Reilly && Associates
  1273.         argv@sun.com / argv@ora.com
  1274.        632 Petaluma Ave, Sebastopol, CA 95472 
  1275.      800-338-NUTS, in CA: 800-533-NUTS, FAX 707-829-0104
  1276.     Opinions expressed reflect those of the author only.
  1277.